package com.zhiche.lisa.lspm.dao.mapper.lsp;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.zhiche.lisa.lspm.dao.model.lsp.LspLicense;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 承运商证照 Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2018-05-23
 */
@Component
public interface LspLicenseMapper extends BaseMapper<LspLicense> {

    /**
     * 批量添加
     */
    void batchInsertNew(@Param("licenseList") List<LspLicense> licenseList);

    List<LspLicense> selectListNoTenant(@Param("ew") EntityWrapper<LspLicense> llEW);
}
